﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            TaskNpc npc1 = new TaskNpc("小白兔", NPCType.task, "帮我萝卜");
            npc1.speak();
            pedlarNpc npc2 = new pedlarNpc("大白兔", NPCType.pedlar, "萝卜");
            npc2.speak();
           
        }
    }
}
